home *** CD-ROM | disk | FTP | other *** search
- on keycheck2_OLD
-
- -- ADJUSTED FOR GCHELP!!!!!!!
-
- if the commandDown and the key = "q" OR the keyCode = 53 then
- openQuitBoxFromIE
- end if
-
- -->> DOWN ARROW KEY
- if the keyCOde = 125 then
-
- put the timer into vStartTime
-
- put the soundlevel into vLevel
-
- if vLevel > 0 then
- set vLevel = vLevel - 1
- updateStage
- end if
-
- set the soundlevel = vLevel
-
- puppetSound "volume beep"
- updateStage
-
- end if
-
- -->> UP ARROW KEY
- if the keyCOde = 126 then
-
- put the timer into vStartTime
-
- put the soundlevel into vLevel
- if vLevel < 7 then
- set vLevel = vLevel + 1
- updateStage
- end if
-
- set the soundlevel = vLevel
-
- puppetSound "volume beep"
- updateStage
-
- end if
-
- -- CATCH TUTORIAL (SO KEY COMANDS BELOW WON'T APPEAR)
- global TutorialMovie
- if TutorialMovie = 1 then
- exit
- end if
-
- global gBrowserMoviePath
-
- if the keyCode = 114 or (the commandDown and the keyCode = 44) or (the commandDown and the key = "h") then
- global helpBox
- if objectP(helpBox) then
- closeHelpBox
- else
- showHelpBox
- end if
- end if
-
- global hideDesk, gPrint
- if the commandDown and the key = "o" then
- TELL THE STAGE TO openControllerWindow
- end if
-
- if the commandDown and the key = "m" then
- global gAllMute, gSavedSoundLevel
-
- if gAllMute = 0 then
- put the soundlevel into gSavedSoundLevel
- set the soundlevel = 0
- set gAllMute = 1
- else
- set the soundlevel = gSavedSoundLevel
- set gAllMute = 0
- end if
- end if
-
- if (the keyCode = 113 and the machineType <> 256) or (the commandDown and the key = ENTER and the machineType <> 256) then
-
- tell the stage
-
- ----- TAKEN OUT BECAUSE OF OSX ERROR -----
- -- if objectP(finderSwitch) then
- -- finderSwitch(mDispose)
- -- end if
- --
- -- openXlib (the pathName & "FinderSwitcher XObj")
- --
- -- put FinderSwitcher(mNew) into finderSwitch
- -- if objectP(finderSwitch) then finderSwitch(mSwitchToFinder)
-
- end tell
-
- end if
-
- if the commandDown and the key = "n" then
- global gMute,gFade, gAllMute
- if (gMute = 1) then
- if gFade <> 1 and gAllMute <> 1 then
- set the volume of sound (2) to 255
- end if
-
- set gMute = 0
- else
- if gMute = 0 then
- set the volume of sound (2) to 0
-
- set gMute = 1
- end if
- end if
- updateStage
- end if
-
- if the commandDown and the key = "w" then
- global gControllerWindow
- if objectP(gControllerWindow) then
- TELL THE STAGE TO forget gControllerWindow
- end if
- end if
-
- end if
-